package com.sdhs.analyze.bean.monitorinfo;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

public class RsuSuccessRate implements Serializable {

    private String orgId;

    private String orgName;

    private int orgType;

    private String transDate;

    private Long successCnt;

    private Long failCnt;

    private Map<String, SuccessRateUnit> deviceSuccessRate = new HashMap<String, SuccessRateUnit>();

    public RsuSuccessRate() {
        super();
    }

    public RsuSuccessRate(String orgId, int orgType, String transDate) {
        super();
        this.orgId = orgId;
        this.orgType = orgType;
        this.transDate = transDate;
        this.successCnt = 0L;
        this.failCnt = 0L;
    }

    public String getTransDate() {
        return transDate;
    }

    public void setTransDate(String transDate) {
        this.transDate = transDate;
    }

    public Long getSuccessCnt() {
        return successCnt;
    }

    public void setSuccessCnt(Long successCnt) {
        this.successCnt = successCnt;
    }

    public Long getFailCnt() {
        return failCnt;
    }

    public void setFailCnt(Long failCnt) {
        this.failCnt = failCnt;
    }

    public Map<String, SuccessRateUnit> getDeviceSuccessRate() {
        return deviceSuccessRate;
    }

    public void setDeviceSuccessRate(Map<String, SuccessRateUnit> deviceSuccessRate) {
        this.deviceSuccessRate = deviceSuccessRate;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public int getOrgType() {
        return orgType;
    }

    public void setOrgType(int orgType) {
        this.orgType = orgType;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }
}
